<div class="widget-box">
  <div class="widget-title">
      <h3>
        <span>{{widget_title}}</span>
      </h3>  
    </div>
    <div class="widget-content">
      <form role="form" class="form-horizontal" name="form"  ng-submit="update(category)">
        <div class="control-group">
          <label class="control-label">名称</label>
          <div class="controls">
            <input type="text" ng-model='category.name' placeholder="必填项" required />
          </div>
        </div>

        <div class="form-actions">          
            <input type="submit" class="btn bg-green" value="保存" />     
            <input type="submit" class="btn btn-default" value="取消" />         
        </div>
      </form>
   </div>
</div>